Add InputDialog and ShortcutsHelp components; implement Git log graph#66
Merged
Conversation
…ion grouping and drag-and-drop functionality in ConnectionList
…onent and integrate with GitStatusPanel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several enhancements and new features related to Git log visualization and user interface improvements, as well as updates to dependencies to support these changes. The most significant update is the addition of a new Git log graph endpoint and data structure, which enables richer commit history visualization. Additionally, new UI components for keyboard shortcuts and input dialogs have been added, and several new dependencies (including drag-and-drop and date utilities) have been introduced.
Git log graph and data enhancements:
logGraphmethod toGitServiceand a correspondinghandleLogGraphhandler, which returns detailed commit log entries (including parent hashes and refs) for graph visualization. The log entry structure (GitLogEntry) now includesparentsandrefsfields, and all log-related methods have been updated to support these fields. (bridge/src/services/gitService.ts[1] [2] [3] [4] [5] [6] [7]git.logGraphhandler in the JSON-RPC handler registry. (bridge/src/jsonRpcHandler.tsbridge/src/jsonRpcHandler.tsR297)UI component additions:
InputDialogcomponent for user text input in dialogs. (src/components/shared/InputDialog.tsxsrc/components/shared/InputDialog.tsxR1-R81)ShortcutsHelpdialog component and aShortcutsTriggerbutton to display and trigger keyboard shortcut help. (src/components/shared/ShortcutsHelp.tsx[1]src/components/shared/ShortcutsTrigger.tsx[2]Integration of Git log graph in UI:
useGitLogGraphhook and increased the log graph entry count, preparing for richer commit history visualization. (src/features/git/components/GitStatusPanel.tsx[1] [2]Dependency updates:
@dnd-kit/core,@dnd-kit/sortable,@dnd-kit/utilities) and date utilities (date-fns) in bothpackage.jsonandpnpm-lock.yaml. (F93dd6d4L16R17, [1] [2] [3] [4] [5] [6] [7]Minor internal improvements:
yvariable. (bridge/src/services/gitService.tsbridge/src/services/gitService.tsL236-R240)